<?php defined('_JEXEC') or die('Restricted access'); ?>

<div class="componentheading">
<?php echo @$this->settings['title']; ?>
</div>

<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<thead>
	<tr>
		<td class="sectiontableheader"><?php echo JText::_('COM_JHTRAQ_PROJECT');?></th>
		<td class="sectiontableheader"></th>
	</tr>	
</thead>
<tbody>
<?php
$r = 0;
foreach($this->projects as $project)
{
?>	
<tr class="sectiontableentry<?php echo $r + 1; ?>">
<td><a href="<?php echo JRoute::_('index.php?option=com_jhtraq&view=projects&project='.$project['slug']);?>"><?php echo $project['name'];?></a></td>
<td>
	
	<a href="<?php echo JRoute::_('index.php?option=com_jhtraq&view=projects&view=roadmap&project='.$project['slug']);?>">
	<img src="<?php echo JURI::base();?>components/com_jhtraq/extras/information.png" alt="<?php echo JText::_('COM_JHTRAQ_ROADMAP');?>" title="<?php echo JText::_('COM_JHTRAQ_ROADMAP');?>">
	</a>
	<a href="<?php echo JRoute::_('index.php?option=com_jhtraq&view=projects&view=tickets&project='.$project['slug']);?>">
	<img src="<?php echo JURI::base();?>components/com_jhtraq/extras/firebug.png" alt="<?php echo JText::_('COM_JHTRAQ_TICKETS');?>" title="<?php echo JText::_('COM_JHTRAQ_TICKETS');?>">
	</a>
	<a href="<?php echo JRoute::_('index.php?option=com_jhtraq&view=projects&view=timeline&project='.$project['slug']);?>">
	<img src="<?php echo JURI::base();?>components/com_jhtraq/extras/timeline.png" height="16" alt="<?php echo JText::_('COM_JHTRAQ_TIMELINE');?>" title="<?php echo JText::_('COM_JHTRAQ_TIMELINE');?>">
	</a>
	
	<a href="<?php echo JRoute::_('index.php?option=com_jhtraq&view=projects&view=wiki&project='.$project['slug']);?>">
	<img src="<?php echo JURI::base();?>components/com_jhtraq/extras/wiki.png" alt="<?php echo JText::_('COM_JHTRAQ_WIKI');?>" title="<?php echo JText::_('COM_JHTRAQ_WIKI');?>">
	</a>
</td>
</tr>
<?php
$r = 1-$r;
}
?>
</tbody>
</table>